<template>
  <div id="Home">
    <mt-button type="primary" @click="toMyRanking">我的排名</mt-button>
  </div>
</template>

<script>
import { Button } from 'mint-ui'
export default {
    name: "Home",
    components: {
        Button,
    },
    data () {
        return {
            myNum: 80,
            thisUrl: "/",
            nextUrl: "https://www.baidu.com/",
            userId: 3,
        }
    },
    methods:{
        toMyRanking(){
            this.$router.push("/myRanking?thisUrl=" + this.thisUrl+"&nextUrl="+this.nextUrl+"&userId="+this.userId);
        }
    },
}
</script>
